# _*_ coding:utf-8 _*_

"""
# @Time　 : 2021/12/28 21:57
# @Author : king
# @File　 : global_vars.py
# @project: ApiPytestFramework
# @QQ     : 772084279
# @Email  : 772084279@qq.com
# @blog   : https://ceshizhilu.blog.csdn.net/
"""
from enum import Enum

# 定义一个全局变量，作用于接口关联数据存储
GLOBAL_VARS = {}


# Excel 数据列
class CaseEnum(Enum):
    CASE_ID = 1
    CASE_FEATURE = 2
    CASE_TITLE = 3
    API_PATH = 4
    API_HEADER = 5
    API_METHOD = 6
    API_PK = 7
    API_DATA = 8
    API_FILE = 9
    API_EXTRACT = 10
    API_EXPECTED = 11
    API_EXEC = 12


class CaseType(Enum):
    EXCEL = 1
    YAML = 2
    ALL = 0